package br.com.naybee.domain.configuracaobs;

import org.springframework.stereotype.Service;

import br.com.naybee.framework.client.dao.DaoImpl;
import br.com.naybee.framework.client.models.ListModel;
import br.com.naybee.framework.client.models.Model;

@Service
public class ConfiguracaoBs extends DaoImpl {

	public void registrarConfiguracao(Model model) {
		add("incluir-configuracao.sql", model);
	}

	public ListModel listarConfiguracoes() {
		return list("listar-configuracoes.sql");
	}
}
